package com.sp1.app.service.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sp1.app.dao.UserDao;
import com.sp1.app.entry.UserEntry;
import com.sp1.app.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserDao userDao;

	public List<UserEntry> users() throws SQLException {
		return userDao.selectUser();
	}
}
